package com.lanxin.judge.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-08-04
 */
@TableName("lc_node")
public class LcNode implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    //流程id
    @TableField("parentid")
    private Integer parentid;

    //流程名称
    @TableField("name")
    private String name;

    @TableField("prenodeid")
    private Integer prenodeid;

    @TableField("deptid")
    private Integer deptid;

    @TableField("jobid")
    private Integer jobid;

    @TableField("isByDept")
    private String isByDept;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }
    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getPrenodeid() {
        return prenodeid;
    }

    public void setPrenodeid(Integer prenodeid) {
        this.prenodeid = prenodeid;
    }
    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }
    public Integer getJobid() {
        return jobid;
    }

    public void setJobid(Integer jobid) {
        this.jobid = jobid;
    }
    public String getIsByDept() {
        return isByDept;
    }

    public void setIsByDept(String isByDept) {
        this.isByDept = isByDept;
    }

    @Override
    public String toString() {
        return "LcNode{" +
            "oid=" + oid +
            ", parentid=" + parentid +
            ", name=" + name +
            ", prenodeid=" + prenodeid +
            ", deptid=" + deptid +
            ", jobid=" + jobid +
            ", isByDept=" + isByDept +
        "}";
    }
}
